package org.dtrd.modules.content.tags.entity.bean;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.dtrd.modules.content.tags.entity.po.DtrdEntRdTag;

/**
 * <p>
 * 标签表
 * </p>
 *
 * @author QR
 * @since 2022-03-08
 */
@Getter
@Setter
@ApiModel(value = "标签表详情")
public class TagDetail {

    private Integer tagId;

    @ApiModelProperty("标签名字")
    private String tagName;

    public TagDetail parseFromPO(DtrdEntRdTag po) {
        tagId = po.getDataId();
        tagName = po.getTagName();
        return this;
    }
}
